//
//  SortButton.m
//  HealthyMall
//
//  Created by 马光 on 2017/6/23.
//  Copyright © 2017年 天骅科技. All rights reserved.
//

#import "SortButton.h"

@implementation SortButton

- (void)layoutSubviews
{
    [super layoutSubviews];
    [self setTitleEdgeInsets:UIEdgeInsetsMake(0, -self.imageView.bounds.size.width, 0, self.imageView.bounds.size.width)];
    [self setImageEdgeInsets:UIEdgeInsetsMake(0, self.titleLabel.bounds.size.width+5, 0, -(self.titleLabel.bounds.size.width+5))];

}

@end
